package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallGoodsSpecification;
import com.ctsi.ssdc.domain.LitemallGoodsSpecificationExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallGoodsSpecificationRepository extends BaseRepository<LitemallGoodsSpecification, Integer, LitemallGoodsSpecificationExample> {
    @Override
    long countByExample(LitemallGoodsSpecificationExample example);

    @Override
    int deleteByExample(LitemallGoodsSpecificationExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallGoodsSpecification record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallGoodsSpecification record);

    @Override
    List<LitemallGoodsSpecification> selectByExample(LitemallGoodsSpecificationExample example);

    @Override
    LitemallGoodsSpecification selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example);

    @Override
    int updateByExample(@Param("record") LitemallGoodsSpecification record, @Param("example") LitemallGoodsSpecificationExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallGoodsSpecification record);

    @Override
    int updateByPrimaryKey(LitemallGoodsSpecification record);
}